from django.conf.urls import url
from verifications import views


# GET / verifications / imagecodes / (?P < image_code_id >.+) /
urlpatterns = [
    url(r'^imagecodes/(?P<image_code_id>.+)/$',views.RegisterImageCodeView.as_view()),
# GET / verifications / smscodes / (?P < mobile > 1[345789]\d
    # {9}) / ?text = xxxx & image_code_id = xxxx
    url(r'^smscodes/(?P<mobile>1[3-9]\d{9})/$',views.RegiserSMSCodeView.as_view())
]